<?php echo $header; ?>
<div id="main">

    <!--content-->
    <div class="content">
        <!--left-->
        <?php echo $column_left;  ?>
        <!--end left-->

        <!--bottom-->
        <div id="bottom">
            <!--slide-->
            <?php echo $content_top; ?> 

            <!--end slide-->

            <!--các tin khác-->
            <div class="product_list">

                <!--view-Bình ga và linh kiện-->
                
                <div class="view-content">
                  <?php foreach($category as $key => $item){ ?>
                    <?php if(count($item['products']) > 0){ ?>
                    <div class="product_list_title">
                        <div class="product_list_title_text"><?php echo $item['name']; ?></div>
                    </div>
                    <div class="noidungsp">
                        <?php foreach($item['products'] as $k => $v){ ?>
                        <div class="box_product">
                            <a href="<?php echo $v['href'] ?>"><img src="<?php echo $v['img']; ?>" alt="<?php echo $v['name']; ?>" /></a>
                            <div class="box_product_text">
                                <a href="<?php echo $v['href'] ?>"><?php echo $v['name']; ?></a><br />
                                <?php if($v['price_sale'] > 0){ ?><a href="href="<?php echo $v['href'] ?>""><h6>Giá KM:<?php echo $v['price_sale']; ?> VNĐ</h6></a><?php } ?>
                                <a href="<?php echo $v['href'] ?>"><h4>Giá Hãng:<?php echo $v['price']; ?> VNĐ</h4></a>
                            </div> 	
                        </div>
                        <?php } ?>
                    </div>
                     <?php } ?>
                  <?php } ?>
                </div>
               
            </div>
            
            <!--end binh ga và linh kiện-->


        </div>  

        <!--end các tin khác-->



    </div>

    <!--end bottom-->

    <div class="cleaner"></div>
   
</div>
<div class="cleaner"></div>
<!--end content-->
<?php echo $content_bottom; ?>
<?php echo $footer; ?>